/*
//
//              INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license  agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in  accordance  with the terms of that agreement.
//    Copyright (c) 2007 Intel Corporation. All Rights Reserved.
//
//
*/

#ifndef __UMC_SAMPLE_BUFFER_EX_H
#define __UMC_SAMPLE_BUFFER_EX_H

#include "umc_cyclic_buffer.h"

namespace UMC
{

class SampleBufferEx : public SampleBuffer
{
public:
    // Default constructor
    SampleBufferEx(void);
    // Destructor
    virtual
    ~SampleBufferEx(void);

    // Lock input buffer
    virtual
    Status LockInputBuffer(MediaData *pDst, size_t nRequiredSize);

protected:
    // Reinitialize internal buffer
    Status Reallocate(size_t nPrefInputSize);
};

} // namespace UMC

#endif // __UMC_SAMPLE_BUFFER_EX_H
